﻿#pragma once

#include <QObject>
#include <QDate>
#include "EquipmentAction.h"
#include "./Frameworks/MediatorEventDefine.h"

constexpr std::initializer_list<QString> str_initiaizer_list = {};
class QVariant;

class DrillingrigEvent : public QObject
{
	Q_OBJECT
	Q_PROPERTY(bool isConnected READ isConnected NOTIFY isConnectedChanged)									//网络连接正常
	
public:
	DrillingrigEvent(QObject *parent = nullptr);
	~DrillingrigEvent();
	inline static QStringView const Identity = u"interaction";	
	bool isConnected() const;
	void setIsConnected(bool value);
	
signals:
	void isConnectedChanged();	
	void logReport(QString const&, int) const;
	void toolTipMessage(QString const&) const;

protected:
	DECLARE_PROPERTY(isConnected, bool, false)	
};
